package com.cssiot.weixin.basic.data;

/**
 * 此临时常量如url地址便于
 * 以后将放入配置文件
 * @author jacking
 *
 */
public class WeixinFinalValue {
	/**
	 * 应用id
	 */
	public final static String APPID = "wxab6c3781f172aa3a";//测试   wxab6c3781f172aa3a  正式   wx991e45b23933edb3
	/**
	 * 应用密钥
	 */
	public final static String APPSECRET = "0dddf0dfdc4c86cc9f2c39910bef8fe6";//测试   0dddf0dfdc4c86cc9f2c39910bef8fe6  正式   6dad42b2b653d14fe98149ef2480316d
	/**
	 * 凭据获取url
	 */
	public final static String ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET";
	/**
	 * 自定义菜单添加url
	 */
	public final static String MENU_ADD = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN";
	/**
	 * 文本消息
	 */
	public final static String MSG_TEXT_TYPE = "text";
	/**
	 * 图片消息
	 */
	public final static String MSG_IMAGE_TYPE = "image";
	/**
	 * 语音消息
	 */
	public final static String MSG_VOICE_TYPE = "voice";
	/**
	 * 视频消息
	 */
	public final static String MSG_VIDEO_TYPE = "video";
	/**
	 * 小视频消息
	 */
	public final static String MSG_SHORTVIDEO_TYPE = "shortvideo";
	/**
	 * 地理位置
	 */
	public final static String MSG_LOCATION_TYPE = "location";
	/**
	 * 事件
	 */
	public final static String MSG_EVENT_TYPE = "event";
	/**
	 * 增加临时素材url
	 */
	public final static String POST_MEDIA="https://api.weixin.qq.com/cgi-bin/media/upload?access_token=ACCESS_TOKEN&type=TYPE";
	/**
	 * 获取临时素材url  .jpg图片等
	 */
	public final static String GET_MEDIA="https://api.weixin.qq.com/cgi-bin/media/get?access_token=ACCESS_TOKEN&media_id=MEDIA_ID";
}
